package com.sgq.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sgq.entity.Permission;
import com.sgq.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sgq.vo.UserQueryVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sgq
 * @since 2024-09-13
 */
public interface UserService extends IService<User> {


    /**
     * 分页查询用户
     * @param userQueryVo
     * @return
     */
    IPage<User> findPage(UserQueryVo userQueryVo);


    User findUserByUserName(String username);
}
